package com.navi.loaddata.core.gpEntity;

import com.navi.loaddata.core.gpEntity.array.WppAdefectF;
import com.navi.loaddata.core.gpEntity.cf.WppFdefectF;
import com.navi.loaddata.core.gpEntity.oc.WppCdefectF;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by xufan on 2018/3/29.
 */

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface GpDefectFMapper {

    GpDefectFMapper INSTANCE = Mappers.getMapper(GpDefectFMapper.class);

    GpDefectF arrayToEtlDefect(WppAdefectF array);
    List<GpDefectF> arrayToEtlDefect(List<WppAdefectF> list);


    GpDefectF cfToEtlDefect(WppFdefectF cf);
    List<GpDefectF> cfToEtlDefect(List<WppFdefectF> list);

    GpDefectF cellToEtlDefect(WppCdefectF cell);
    List<GpDefectF> cellToEtlDefect(List<WppCdefectF> list);


}
